cmake_minimum_required(VERSION 3.10)
project(PopularityTest)

# 设置C++标准
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# 查找SQLite3包
find_package(SQLite3 REQUIRED)

# 添加可执行文件
add_executable(test_popularity_update test_popularity_update.cpp)

# 链接SQLite3库
target_link_libraries(test_popularity_update SQLite::SQLite3)

# 添加包含目录
include_directories(${SQLite3_INCLUDE_DIRS}) 